package org.jeecg.modules.paycenter.channel.bankdocking.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.modules.paycenter.channel.bankdocking.dto.ReqPacket;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "ap")
public class CQRA06Packet extends ReqPacket {

//    @XmlElement(name = "Cmp")
//    private Cmp cmp;

    public CQRA06Packet(){
        this.setCCTransCode("CQRA06");
    }
    @Data
    @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    @XmlAccessorType(XmlAccessType.FIELD)
    public static  class Cmp {
        /**省市代码*/
        @XmlElement
        private String DbProv;
        /**账号*/
        @XmlElement
        private String DbAccNo;
        /**货币号*/
        @XmlElement
        private String DbCur;
    }
}
